<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %> 
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<tiles:insert page="/general/templateLoggedIn.jsp">
	<tiles:put name="title" value="Verification Page"/>
	<tiles:put name="nav"/>
	<tiles:put name="content" type="string">

	<h2>Overview</h2>
	
	<table class="border">	
		<tr><th>First Name</th><th>Last Name</th><th>Option</th></tr>
		<c:forEach var="application" items="${requestScope.applications}">
			<tr class="evenHover">
				<td>${application.firstName}</td>
				<td>${application.name}</td>
				<td>
					<html:link action="showApplication">
						<html:param name="page" value="overview"/>
						<html:param name="applicant" value="${application.mail}"/>
						Grade
					</html:link>
				</td>
			</tr>
		</c:forEach>
	</table>
		
	</tiles:put>
</tiles:insert>